﻿using System.Text;
using RAP.Framework.Libary.DomTemplateBuilder.Interface;

namespace RAP.Framework.Libary.DomTemplateBuilder.Handler.SwitchCase
{
	/// <summary>
	/// 跳出Switch-Case判断
	/// </summary>
	public class BreakHandler : HandlerBase
    {
        public override void DoRender ( StringBuilder writer, object rootParamObject, object parentParamObject, ITemplateRenderContext context )
        {
            context[ "IsBreak" ] = true;
        }
    }
}
